package com.ssm.zy.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.web.socket.WebSocketSession;
/**
 * @author 郑智辰~
 * @version 1.0
 *
 * 封装WebSocketSessionBean 作为 连接池集合 的 参数对象
 */
@Data
@AllArgsConstructor
public class SessionBean {
    private WebSocketSession session;
    private Integer clientId;

    public WebSocketSession getSession() {
        return session;
    }

    public Integer getClientId() {
        return clientId;
    }
}
